def f(x: C) -> C: ...
         <ref>

class C: ...